<?php
// +----------------------------------------------------------------------
// | TPH1 [ 只为程序员服务 ]
// +----------------------------------------------------------------------
// | 代码由TPH1生成，请根据实际业务需求自行修改。
// +----------------------------------------------------------------------
// | Author: Muwa <fbiufo@vip.qq.com> <http://www.tpf1.cn>
// +----------------------------------------------------------------------

namespace app\admin\validate;
use think\Validate;

class PlaceOrdersValidate extends Validate{

	protected $rule = [
		'manager_id|场地ID'  => 'require|unique',
		'sort'  => 'require',
 
	 ];
	
	 //错误提示信息
	protected $message = array(
		'manager_id.require'   => '场地ID必须',
		'manager_id.unique'    => '场地ID已存在',
		'sort.require'   => '排序必须',
	);
	//验证场景
	protected $scene = array(
		'add'      => '',
		'edit'     => '',
	);
}